package com.example.adminLite.admin.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping("admin")
public class LoginController {

    @GetMapping("login")
    public String login()
    {
        return "admin/login/login";
    }

    @PostMapping("login")
    public String loginPost()
    {
        return "admin/login/login";
    }

}
